﻿using Coway.Ordering.Buyers;
using Coway.Ordering.Orders;
using DinkToPdf;
using Magicodes.ExporterAndImporter.Pdf;
using System.Collections.Generic;

namespace Coway.Ordering.Pdfs
{
    [PdfExporter(Orientation = Orientation.Portrait, PaperKind = PaperKind.A4)]
    public class ExportOrderDto
    {
        /// <summary>
        /// 订单号
        /// </summary>
        public string OrderNo { get; set; }

        /// <summary>
        /// 推荐人号
        /// </summary>
        public string ReferralNo { get; set; }

        /// <summary>
        /// 购买方式：买断、租赁
        /// </summary>
        public string BuyWay { get; set; }

        public string SellerName { get; set; }

        public string SellerCode { get; set; }

        public string SellerPhone { get; set; }
        public string CustomerFirstName { get; set; }
        public string CustomerLastName { get; set; }

        public List<OrderItemDto> OrderItems { get; set; }

        public Buyer Buyer { get; set; }

        public InstallationInfo InstallationInfo { get; set; }

        /// <summary>
        /// 签名（Base64位图片）
        /// </summary>
        public string SignatureImage { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remarks { get; set; }
    }

}